package com.mes.cloud.api.dto.request.employee;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: 郑样平
 * @Description:
 * @Date: 2019/8/7 9:25
 */
@Data
public class PositionPageListRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "pageSize不能为空")
    private int pageSize;

    @ApiModelProperty(value = "排序", required = false)
    private String orderBy;

    @ApiModelProperty(value = "搜索条件", required = false)
    private String queryString;

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "employeeId不能为空")
    private String employeeId;
}
